package FrameWork.Event;

import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Inherited
public @interface Priority {

    int MIN_PRIORITY = 1;
    int MINOR_PRIORITY = 2;
    int NORMAL_PRIORITY = 3;
    int SENIOR_PRIORITY = 4;
    int MAX_PRIORITY = 5;

    int order() default NORMAL_PRIORITY;

}
